package com.vanke.kotlin.db

import java.util.*

/**
 * @name Kotlin
 * @package name：com.vanke.kotlin.db
 * @class describe
 * @anthor shiyuchuan
 * @time 2017/7/25 10:15
 */
class CityForecast(val map: MutableMap<String,Any?>,val dailyForecast: List<DayForecast>){

    var _id: Long by map
    var city: String by map
    var country: String by map

    constructor(id: Long, city: String,country: String,
                dailyForecast: List<DayForecast>
                ) : this(HashMap(),dailyForecast){
        this._id = id
        this.city = city
        this.country = country
    }

}